<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><#$typename#>-<#$title#></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META content="<#$description#>" name="description">
<META content="<#$keyword#>" name="keywords">
<link href="style.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div class="main">

  <#include file="head.htm"#>

  <div class="content">
    <div class="content_resize">
      <div class="mainbar" style="width:900px;">
	  <div class="lbg" style="margin-bottom:20px; font-size:12px;">当前位置：<a href="<#$website_root#>">首页</a> >> <#$typename#> >></div>
	  <#section name=tlist loop=$typelist max=$max start=$pages*$max#>
        <div class="article">
          <h2 class="tm"><a href="viewarticle.php?aid=<#$typelist[tlist].id#>"><#$typelist[tlist].title#></a></h2>
          <p>作者：<#$typelist[tlist].write|default:"匿名"#> | 来源：<#$typelist[tlist].source|default:"网络"#></p>
          <p><#$typelist[tlist].description#></p>
          <p class="lbg"><a href="viewarticle.php?aid=<#$typelist[tlist].id#>" class="obg">查看更多</a> <span>&nbsp;&bull;&nbsp;</span> 点击(<#$typelist[tlist].click#>)  | <#$typelist[tlist].pubdate|date_format#></p>
        </div>
		<#/section#>
		   </div>
           <div class="pages">
           <#if $pages==0#>
           	<span class="disabled">上一页</span>
            <#else#>
            <a href="list.php?aid=<#$typeid#>&pages=<#$pages#>">上一页</a>
            <#/if#>
            <#section loop=$pages_num name=p max=8#>
            	<#if $smarty.section.p.iteration==$pages+1#>
                <span class="current"><#$smarty.section.p.iteration#></span>
                <#else#>
                <a href="list.php?aid=<#$typeid#>&pages=<#$smarty.section.p.iteration#>"><#$smarty.section.p.iteration#></a>
                <#/if#>
            <#/section#>
            
            <#if $pages==$pages_num-1#>
            <span class="disabled">下一页</span>
            <#else#>
            <a href="list.php?aid=<#$typeid#>&pages=<#$pages+2#>">下一页</a>
           <#/if#>
           
           <span class="disabled">第<#$pages+1#>页 共<#$pages_num#>页 <#$count#>条记录</span>
           </div>
      <div class="clr"></div>
    </div>
  </div>

  <div class="fbg">
    <div class="fbg_resize">
      <div class="col c1"  style=" width:255px; padding-right:2px;">
        <h2><span>图片新闻</span></h2>
        <#section name=list max=6 loop=$pic_news#>
        <a href="viewarticle.php?aid=<#$pic_news[list].id#>"><img src="<#$pic_news[list].litpic#>" width="56" height="56" alt="<#$pic_news[list].title#>" onerror=this.src="<#$website_root#>images/pix2.jpg" /></a>
        <#/section#>
      </div>
      <div class="col c2">
        <h2><span>Lorem Ipsum</span></h2>
        <p>Lorem ipsum dolor<br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum. Cras id urna. <a href="#">Morbi tincidunt, orci ac convallis aliquam</a>, lectus turpis varius lorem, eu posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum odio, ac blandit ante orci ut diam.</p>
      </div>
      <div class="col c3">
        <#section name=list max=1 loop=$about_news#>
        <h2><span><#$about_news[list].title#></span></h2>
        <img src="<#$about_news[list].litpic#>" width="56" height="56" alt="<#$about_news[list].title#>" onerror=this.src="<#$website_root#>images/pix<#$img_rand#>.jpg" />
        <p><#$about_news[list].description#></p>
        <p><a href="viewarticle.php?aid=<#$about_news[list].id#>" class="lbg">Learn more...</a></p>
        <#/section#>
      </div>
      <div class="clr"></div>
    </div>
  </div>
<#include file="foot.htm"#>
</div>

</body>
</html>
